let mysql = require('mysql');
let connection = mysql.createConnection({
    host: 'localhost',
    user: 'root',
    password: '123',
    database: 'blog',
    // 这句话表示可以同时执行多个sql语句
    multipleStatements: true
})
connection.connect();

module.exports = connection;